import * as TYPES from '@/store/action-types.js'
import {cloneDeep} from "loadsh/lang.js";
let initial = {
    info:null
}
export default function baseReducer(state = initial, action) {
    state = cloneDeep(state)
    switch (action.type) {
        case TYPES.BASE_INFO:
            state.info = action.info
            break;
        default:
    }
    return state
}